﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Micrhard.FMCG.Server.Validator;
using Microhard.Core.DBUtility;
using System.ComponentModel.DataAnnotations;

namespace Micrhard.FMCG.Server.Models
{
    [FluentValidation.Attributes.Validator(typeof(ProductModelValidator))]
    public class ProductModel : BasePermissionModel
    {
        [ModelPKID]
        public Guid ProductID { set; get; }
        public Guid CompanyID { set; get; }
        public string SN { set; get; }
        public string Mark { set; get; }
        public DateTime CreateTime { set; get; }
        public string SNToSelect { set; get; }
        public string KASN { set; get; }
        public bool IsPromotion { set; get; }
        public double CostCoin { set; get; }

    }
}
